#ifndef __COMMON_H__
#define __COMMON_H__

#include <stdio.h>
#include <stdlib.h>
#include <mpi.h>
#include <assert.h>
#include <unistd.h>
#include <math.h>
#include <string>
#include <algorithm>

template<typename idx_t, typename data_t>
struct COO
{
    idx_t r;
    idx_t c;
    data_t v;
    COO() {}
    COO(idx_t _r, idx_t _c, data_t _v): r(_r), c(_c), v(_v) {}
};

#endif